import Login from "../views/Login";
import Home from "../views/Home";


const routes = [
    {
        path: '/',
        name: 'Login',
        component: Login,
        hidden: true
    },
    {
        path: '/home',
        component: Home,
        name: 'Home',
        hidden: false,
        children: [
            {
                path: '/test1',
                name: '选项1',
            },
            {
                path: '/test2',
                name: '选项2',
            }
        ]
    }
]

export default routes
